export const INVOICE_TYPE = {
    REGULAR_INVOICE: 1,
    VAT_INVOICE: 2,
}

export const INVOICE_TYPE_OPTIONS = [
    {
        label: '增值税普通发票',
        value: INVOICE_TYPE.REGULAR_INVOICE,
    },
    {
        label: '增值税专用发票',
        value: INVOICE_TYPE.VAT_INVOICE,
    },
]

export const INVOICE_STATUS = {
    DONE: 1,
    FAILED: 2,
    TO_DO: 0,
}

export const INVOICE_STATUS_OPTIONS = [
    {
        label: '已开票',
        value: INVOICE_STATUS.DONE,
    },
    {
        label: '开票失败',
        value: INVOICE_STATUS.FAILED,
    },
    {
        label: '待开票',
        value: INVOICE_STATUS.TO_DO,
    },
]

export const INVOICE_TITLE_IS_DEFAULT = {
    IS_DEFAULT: 1,
    IS_NOT_DEFAULT: 0,
}
